package com.bloveoacom.http;

/**
 * Created by yujunlong on 2016/8/24.
 */

public class HttpResult<T> {
    public int code;
    public String msg;
    public T data;

    public boolean isOk() {
        return code==HttpMethods.HTTP_SUCCESS;
    }
    public boolean isEmpty() {
        return data==null;
    }
}
